<?php
require_once 'requires.php';

$defineCfg = array(
	'type' => 'jqgrid',
	'options' => array(
		'fields' => array(
			'id' => 'increment',
			'name' => 'string',
			'actions' => '<a href="delete.php?id={ID}">Delete</a>',
		),
		'field_id' => array(
			'step' => 2,
			'start' => 10,
		),
		'records' => 100,
		'page' => 2,
		'perpage' => 10,
	),
);

$ret = DCenter::data($defineCfg, $cfg);
print_r($ret);
?>